package video

import (
	v1 "ginweb-admin/api/v1"
	"github.com/gin-gonic/gin"
)

type VideoRouter struct{}

func (router *VideoRouter) InitVideoRouter(Router *gin.RouterGroup) {
	// 获取登录的api接口
	videoApi := v1.WebApiGroupApp.Video.VideoApi
	// 创建路由组
	videoApiGroup := Router.Group("/video")
	{
		// 登录路由
		videoApiGroup.POST("/get", videoApi.GetVideoById)
	}
}
